package com.xin.minibusmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xin.common.utils.PageUtils;
import com.xin.minibusmall.product.entity.CategoryBrandRelationEntity;
import com.xin.minibusmall.product.vo.BrandResVo;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author fbb
 * @email 1339279838@qq.com
 * @date 2020-08-23 17:35:28
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    void updateBrand(Long brandId, String name);

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    void updataCategory(Long catId, String name);

    List<BrandResVo> getBrandsByCatId(Long catId);

}

